<?php

class View_Portfolio extends Controller
{
	var $data=array();
	
	public function __construct()
	{
		$this->data['gallery']=1;
		parent::Controller();
	}
	
	function index()
	{	
		$this->load->view("view_portfolio",$this->data);
	}
	
	function gallery($index)
	{
		$this->data['gallery']=$index;
		$this->load->view("view_portfolio",$this->data);
	}
	
	
}
?>